const install = (Vue, vm) => {

    vm.$e.jumpway.access = function (key, route) {

        if (vm.$route.name !== route.name) {
            vm.$router.push(route)
        }
    }
}

export default {
    install
}